﻿/*=================================================================================================
	TASK 11:                                                                               {Loop's}
	Write a program that prints all possible cards from a standard deck of 52 cards(without jokers).
    The cards should be printed with their English names. Use nested for loops and switch-case.
=================================================================================================*/

using System;

class PrintAllPossibleCards
{
    static void Main()
    {
        int color;
        string colorName ="";

        string[] set = 
            {
                "Two","Three","Four","Fife",
                "Six","Seven","Eight","Nine",
                "Ten","Jack","Queen","King","Ace"
            };
        
        for (color = 1; color <= 4; color++)
        {
            switch (color)
            {
                case 1:
                    colorName = "clubs ";
                    break;
                case 2:
                    colorName = "hearts ";
                    break;
                case 3:
                    colorName = "diamonds ";
                    break;
                case 4:
                    colorName = "spades ";
                    break;
            }
            for (int i = 0; i < set.Length; i++)
            {
                Console.WriteLine(colorName + set[i]);
            }
            Console.WriteLine();
        }
    }
}

